# 创建字典
heros = {'及时雨':'宋江','玉麒麟':'卢俊义','花和尚':'鲁智深','母夜叉':'孙二娘'}
print(type(heros))

empty_dict = dict()
print(type(empty_dict))

heros_star = {'天罡星':{'及时雨':'宋江','玉麒麟':'卢俊义','花和尚':'鲁智深'},
              '地煞星':{'母夜叉':'孙二娘'}}

print(heros['及时雨'])
print(heros_star['天罡星']['花和尚'])

dict_val = {'黑旋风':'李逵','黑旋风':'李鬼'}
print(dict_val['黑旋风'])

dict_val2 = {'及时雨':'宋江','呼保义':'宋江','忠义黑三郎':'宋江'}
print(dict_val2['及时雨'])
print(dict_val2['呼保义'])
print(dict_val2['忠义黑三郎'])